import axios from './api'

let { get, post } = axios

export const getAllFood = () => get("/getFood", '')
export const addFood = (data: any) => post("/addFood", data)
export const editFood = (data: any) => post("/editFood", data)
export const deleteFood = (data: any) => post("/delFood", data)